package com.jeecms.wicool.dao.product;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.product.ProductRelation;

/**
 * 商品关联表DAO接口
 */
public interface ProductRelationDao{
	public Pagination getPage(Integer productId,
			int pageNo, int pageSize);
	public ProductRelation findById(Integer id);
	public ProductRelation updateByUpdater(Updater<ProductRelation> updater);
	public ProductRelation save(ProductRelation bean);
	public ProductRelation deleteById(Integer id);
}